home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 May / EnigmA AMIGA RUN 18 (1997)(G.R. Edizioni)(IT)[!][issue 1997-05][EAR-CD II].iso / earcd / dev / c / math_cla.rea < prev    next >
Text File  |  1997-03-02  |  6KB  |  104 lines

  1. Short:    A Matrix and a Bignum class for C++
  2. Author:   trulsson@student.docs.uu.se (Erik Trulsson)
  3. Uploader: trulsson@student.docs.uu.se (Erik Trulsson)
  4.  
  5.  
  6. This is a couple of classes written in C++ that handles
  7. Bignums (integers whose size is limited only by available memory)
  8. and matrices.
  9. The matrix directory contains several versions of the code, use whatever suits
  10. you best. (There is even a C version includd that was my first attempt this)
  11. The PMatrix class is a permutation matrix and the LUMatrix is a matrix that
  12. has been LU-decomposed. (if you didn't understand the last sentence so don't worry,
  13. you probably won't need them then :-) )
  14. The documentation is sorely lacking but using the classes is fairly 
  15. straight-forward. (The Bignum class is fairly well commented - in Swedish only. :-( )
  16.  
  17. This code is hereby placed into the public domain.
  18.  
  19.  
  20. ============================= Archive contents =============================
  21.  
  22. Original  Packed Ratio    Date     Time    Name
  23. -------- ------- ----- --------- --------  -------------
  24.        0       0  0.0% 11-Jan-97 00:59:12 +
  25.      851     472 44.5% 11-Jan-97 00:59:12 +ReadMe
  26.        0       0  0.0% 11-Jan-97 00:51:20 +
  27.    18536    4309 76.7% 14-Apr-96 13:20:48 +bignum.cc
  28.     1113     288 74.1% 19-Mar-95 14:22:42 +bignum.h
  29.     1919     383 80.0% 19-Mar-95 17:29:30 +bignumtest.cc
  30.      268     121 54.8% 24-Mar-96 15:55:48 +makefile
  31.        0       0  0.0% 11-Jan-97 00:50:48 +
  32.    14206    2870 79.7% 17-Sep-96 17:44:06 +Matrix.cc
  33.     3304     826 75.0% 10-Jun-96 22:56:24 +Vector.cc
  34.    10612    5350 49.5% 27-Oct-96 16:20:36 +crank
  35.      647     333 48.5% 27-Oct-96 16:21:12 +crank.cc
  36.     1267     594 53.1% 19-Sep-96 22:26:00 +jacobi.cc
  37.        0       0  0.0% 11-Jan-97 01:00:08 +
  38.     1082     412 61.9% 05-Oct-96 15:18:36 +Makefile
  39.     2698     695 74.2% 05-Oct-96 14:52:20 +Matrix.h
  40.      694     350 49.5% 18-Sep-96 17:41:42 +determinant.cc
  41.   189904   36181 80.9% 05-Oct-96 15:42:52 +libmatrix.a.020881
  42.      244     153 37.2% 18-Sep-96 17:41:52 +lumat_getl.cc
  43.       86      78  9.3% 18-Sep-96 17:41:58 +lumat_getp.cc
  44.      186     139 25.2% 18-Sep-96 17:42:04 +lumat_getu.cc
  45.     1038     414 60.1% 18-Sep-96 17:42:36 +lumat_ludecomp.cc
  46.      110      92 16.3% 18-Sep-96 17:42:42 +lumat_op_assign.cc
  47.      774     348 55.0% 05-Oct-96 14:55:42 +lusolve.cc
  48.       66      62  6.0% 18-Sep-96 17:43:02 +mat_create.cc
  49.      248     166 33.0% 18-Sep-96 17:43:12 +mat_create_int_int.cc
  50.      331     207 37.4% 18-Sep-96 17:43:58 +mat_create_int_int_ptr.cc
  51.      261     174 33.3% 05-Oct-96 14:29:24 +mat_create_mat.cc
  52.      272     184 32.3% 18-Sep-96 17:44:08 +mat_create_pmat.cc
  53.       51      51  0.0% 19-Sep-96 22:30:22 +mat_dabs.cc
  54.       74      73  1.3% 18-Sep-96 17:44:24 +mat_destr.cc
  55.      175     127 27.4% 05-Oct-96 14:30:42 +mat_getcol.cc
  56.      175     127 27.4% 05-Oct-96 14:31:26 +mat_getrow.cc
  57.      234     159 32.0% 05-Oct-96 14:59:28 +mat_inverse.cc
  58.      343     198 42.2% 18-Sep-96 17:56:42 +mat_op_add.cc
  59.      280     178 36.4% 18-Sep-96 17:56:48 +mat_op_addassign.cc
  60.      565     244 56.8% 18-Sep-96 17:56:54 +mat_op_assign.cc
  61.      302     171 43.3% 18-Sep-96 17:57:00 +mat_op_eq.cc
  62.      205     147 28.2% 18-Sep-96 17:57:10 +mat_op_mult_dbl_mat.cc
  63.      204     146 28.4% 18-Sep-96 17:57:14 +mat_op_mult_mat_dbl.cc
  64.      391     234 40.1% 18-Sep-96 17:57:20 +mat_op_mult_mat_mat.cc
  65.      283     185 34.6% 18-Sep-96 17:57:30 +mat_op_mult_pmat_mat.cc
  66.      194     134 30.9% 18-Sep-96 17:57:04 +mat_op_multassign.cc
  67.      300     168 44.0% 18-Sep-96 17:57:36 +mat_op_neq.cc
  68.      343     199 41.9% 18-Sep-96 17:57:40 +mat_op_sub.cc
  69.      279     178 36.2% 18-Sep-96 17:57:44 +mat_op_subassign.cc
  70.      516     294 43.0% 05-Oct-96 14:51:24 +mat_print.cc
  71.      293     181 38.2% 18-Sep-96 17:57:50 +mat_rxchg.cc
  72.      193     147 23.8% 05-Oct-96 15:05:52 +mat_setcol.cc
  73.      192     145 24.4% 05-Oct-96 15:41:32 +mat_setrow.cc
  74.      293     176 39.9% 18-Sep-96 17:58:06 +mat_setunity.cc
  75.      263     175 33.4% 18-Sep-96 17:58:14 +mat_transpose.cc
  76.      165     125 24.2% 18-Sep-96 17:58:22 +mat_unity.cc
  77.       61      61  0.0% 18-Sep-96 17:58:44 +pmat_create.cc
  78.      206     145 29.6% 18-Sep-96 17:59:00 +pmat_create_int.cc
  79.      257     166 35.4% 18-Sep-96 17:59:14 +pmat_create_pmat.cc
  80.       86      81  5.8% 18-Sep-96 17:59:22 +pmat_destr.cc
  81.      156     122 21.7% 18-Sep-96 17:59:28 +pmat_inverse.cc
  82.      167     142 14.9% 18-Sep-96 17:59:40 +pmat_op_arr.cc
  83.      219     154 29.6% 18-Sep-96 17:59:46 +pmat_op_assign.cc
  84.      238     181 23.9% 18-Sep-96 17:59:52 +pmat_op_index.cc
  85.      240     165 31.2% 18-Sep-96 17:59:58 +pmat_op_mult_pmat_pmat.cc
  86.      158     124 21.5% 18-Sep-96 18:00:02 +pmat_transpose.cc
  87.      100      84 16.0% 05-Oct-96 14:35:22 +solve_lumat.cc
  88.      108      85 21.2% 05-Oct-96 15:29:32 +solve_mat.cc
  89.      198     128 35.3% 18-Sep-96 18:01:06 +swap_mat_mat.cc
  90.      526     248 52.8% 22-Sep-96 12:47:26 +matrixtest.cc
  91.        0       0  0.0% 11-Jan-97 00:42:40 +
  92.     7105    1780 74.9% 04-Jun-96 21:52:04 +cMatrix.c
  93.      977     337 65.5% 04-Jun-96 21:41:30 +cMatrix.h
  94.      970     453 53.2% 04-Jun-96 22:19:12 +cmtest.c
  95.    12580    2694 78.5% 19-Feb-95 21:52:18 +oldmatrix.cc
  96.     3316     825 75.1% 21-May-95 20:12:28 +oldmatrix.h
  97.     3448     857 75.1% 12-Feb-96 20:28:36 +oldvector.cc
  98.     1339     359 73.1% 21-May-95 16:49:54 +oldvector.h
  99.      523     229 56.2% 05-Oct-96 15:27:36 +test.cc
  100.     5928    2656 55.1% 05-Oct-96 15:38:08 +test.o
  101.      280     176 37.1% 19-Sep-96 22:25:44 +vectest.cc
  102. -------- ------- ----- --------- --------
  103.   296216   71415 75.8% 16-Jan-97 10:05:02   78 files
  104.